package spring.my.db.sharding.demo.enums;

public enum BzErrorEnum implements BzStatus {
    SERVICE_EXCEPTION(50000, "服务异常!"),
    ;

    private int code;
    private String message;

    BzErrorEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
